import Main from '@/components/main'
export default [
  {
    path: '/basic-rules-management',
    name: 'basic-rules',
    component: Main,
    meta: {
      title: '基础积分规则管理',
      access: ['INTEGRAL_MANAGER', 'BASIC_RULES'],
    },
    children: [
      {
        path: 'index',
        name: 'basic-rules-list',
        meta: {
          title: '基础积分规则配置'
        },
        component: () => import('@/view/basic-rules/index.vue')
      },
      {
        path: 'config/:id',
        name: 'basic-rules-config',
        meta: {
          hideInMenu: true,
          title: '基础积分规则配置'
        },
        component: () => import('@/view/basic-rules/config.vue')
      },
    ]
  }
]
